package com.g2.mydysingle.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 电影票房表
 * </p>
 *
 * @author admin
 * @since 2021-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dl_movie_profit")
public class DlMovieProfit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 昨日排行
     */
    @TableField("yesterday_rank")
    private Integer yesterdayRank;

    /**
     * 首周票房（单位：万）
     */
    @TableField("first_week_profit")
    private Integer firstWeekProfit;

    /**
     * 累计票房（单位：万）
     */
    @TableField("total_profit")
    private Integer totalProfit;

    /**
     * 电影id
     */
    @TableField("movie_id")
    private Integer movieId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
